package com.ziyun.erp.modules.business.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.business.dao.OrderScholarshipConfigDao;
import com.ziyun.erp.modules.business.entity.OrderScholarshipConfigEntity;
import com.ziyun.erp.modules.business.service.OrderScholarshipConfigService;


@Service("orderScholarshipConfigService")
public class OrderScholarshipConfigServiceImpl extends ServiceImpl<OrderScholarshipConfigDao, OrderScholarshipConfigEntity> implements OrderScholarshipConfigService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<OrderScholarshipConfigEntity> page = this.selectPage(
                new Query<OrderScholarshipConfigEntity>(params).getPage(),
                new EntityWrapper<OrderScholarshipConfigEntity>()
        );

        return new PageUtils(page);
    }

}
